<%--
  Created by IntelliJ IDEA.
  User: shisjin
  Date: 2023/10/9
  Time: 14:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
 <%
   Integer count = (Integer) application.getAttribute("count");
   if (count==null){
       count=1;
   }else {
     count++;
   }
   application.setAttribute("count",count);

 %>
 <h2>Java Web网站计数器</h2>
 欢迎访问Java Web，您是第<%=count%>位访问客户！
</body>
</html>
